package net.ciklum.svnnotify.svn;

import java.util.Date;
import java.util.Map;

//SVNLogEnry from SVNkit
public class SVNNotification {
	
	private long revisionId;
	private String author;
	private Map changedPaths;
	private Date date;
	private String message;
	
	public SVNNotification(long revisionId, String author, Map changedPaths, Date date, String message) {
		setRevisionId(revisionId);
		setAuthor(author);
		setDate(date);
		setMessage(message);
		setChangedPaths(changedPaths);
	}

	public void setRevisionId(long revisionId) {
		this.revisionId = revisionId;
	}

	public long getRevisionId() {
		return revisionId;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getAuthor() {
		return author;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getDate() {
		return date;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setChangedPaths(Map changedPaths) {
		this.changedPaths = changedPaths;
	}

	public Map getChangedPaths() {
		return changedPaths;
	}
}
